https://www.tonymitchell.ca/posts/building-avr-projects-with-make/
Building AVR projects with make - Tony Mitchell